export const Layout = () => import('@/layout/index.vue');

export default {
  path: '/learning',
  component: Layout,
  meta: {
    sortVal: 2
  },
  children: [
    {
      path: 'learning',
      name: 'learning',
      component: () => import("@/view/learning/learning.vue"),
      meta: {
        title: '学习中心',
        sortVal: 1
      }
    },
    {
      path: 'enterCourse',
      name: 'enterCourse',
      component: () => import("@/view/learning/enterCourse.vue"),
      meta: {
        title: '',
        sortVal: 2,
        hidden: true
      }
    },
    {
      path: 'knowledge',
      name: 'knowledge',
      component: () => import("@/view/learning/knowledge.vue"),
      meta: {
        title: '',
        sortVal: 3,
        hidden: true
      }
    }
  ]   
}